﻿<%@ Page Title="" Language="C#" MasterPageFile="~/aboutus/AboutusMasterPage.master" AutoEventWireup="true" CodeBehind="etc_view.aspx.cs" Inherits="Com.Web.coffinegurunaru.aboutus.etc_view" %>
<%@ Register TagPrefix="UC" TagName="Paging" Src="~/aboutus/usercontrol/paging.ascx" %>
<%@ Import Namespace="Com.Library.DB.Advertise" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="33">&nbsp;</td>
              </tr>
            <tr>
              <td><img src="/images/aboutus/tit_03.gif" width="343" height="50"></td>
              </tr>
            <tr>
              <td height="30">&nbsp;</td>
              </tr>
            <tr>
              <td><!--tab -->
                <table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><a href="/aboutus/ad_cf.aspx"><img src="/images/aboutus/ad_tab01.gif" width="104" height="17"></a></td>
                    <td><a href="/aboutus/ad_ppl.aspx"><img src="/images/aboutus/ad_tab02.gif" width="106" height="17"></a></td>
                    <td><a href="/aboutus/ad_newspaper.aspx"><img src="/images/aboutus/ad_tab03.gif" width="106" height="17"></a></td>
                    <td><a href="/aboutus/ad_etc.aspx"><img src="/images/aboutus/ad_tab04o.gif" width="106" height="17"></a></td>
                    <td><img src="/images/aboutus/ad_tab_bg.gif" width="161" height="17"></td>
                    </tr>
                  </table>
                <!--tab 끝 --></td>
              </tr>
            <tr>
              <td height="30">&nbsp;</td>
              </tr>
            <tr>
              <td><!--내용 보기--><!--내용 보기 끝 --></td>
              </tr>
            <tr>
              <td align="center"><table width="98%" border="0" cellspacing="0" cellpadding="0">
                </table></td>
              </tr>
            </table>
          <table width="98%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="28"><%=this.AdvertiseInfo.Title.HTMLEncode() %></td>
              <td align="right">date : <%=this.AdvertiseInfo.CreateDate.ToString("yy/MM/dd") %></td>
              </tr>
            </table>
          <table border='1' cellpadding='0' cellspacing='0' width='98%' style='border-collapse:collapse' bordercolor='#dedede' frame='void'>
            <tr>
              <td align="center" bgcolor='#dedede'></td>
              </tr>
            <tr>
              <td align="center" style="padding:20px"><img src="<%=this.AdvertiseInfo.ImageURL %>" width="596"></td>
            </tr>
<% if ( this.AdvertiseInfo.Image2URL != string.Empty ) { %>
			<tr>
              <td align="center" style="padding:20px"><img src="<%=this.AdvertiseInfo.Image2URL %>" width="596"></td>
            </tr>
<% } %>
<% if ( this.AdvertiseInfo.Image3URL != string.Empty ) { %>
            <tr>
              <td align="center" style="padding:20px"><img src="<%=this.AdvertiseInfo.Image3URL %>" width="596"></td>
            </tr>
<% } %>
<% if ( this.AdvertiseInfo.Image4URL != string.Empty ) { %>
            <tr>
              <td align="center" style="padding:20px"><img src="<%=this.AdvertiseInfo.Image4URL %>" width="596"></td>
            </tr>
<% } %>
<% if ( this.AdvertiseInfo.Image5URL != string.Empty ) { %>
            <tr>
              <td align="center" style="padding:20px"><img src="<%=this.AdvertiseInfo.Image5URL %>" width="596"></td>
            </tr>
<% } %>
            <tr>
              <td height='1' bgcolor='#dedede'></td>
              </tr>
            </table>
          <table width="98%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="50" align="center">
<%	if ( this.AdvertiseNo_Next != 0 ) { %>
								<a href="<%="/aboutus/etc_view.aspx?PageNo=" + this.PageNo.ToString() + "&AdvertiseNo=" + AdvertiseNo_Next.ToString() %>"><img src="/images/whatsnew/bt_prv.jpg" width="54" height="26"></a>
<%	} else {%>
								<a href="#" onclick="alert('이전 내용이 없습니다.'); return false;"><img src="/images/whatsnew/bt_prv.jpg" width="54" height="26"></a>
<%	} %>
								&nbsp;&nbsp;&nbsp;<a href="<%="/aboutus/ad_etc.aspx?PageNo=" + this.PageNo.ToString() %>"><img src="/images/whatsnew/bt_list.jpg" width="72" height="26"></a>&nbsp;&nbsp;&nbsp;
<%	if ( this.AdvertiseNo_Prev != 0) { %>
								<a href="<%="/aboutus/etc_view.aspx?PageNo=" + this.PageNo.ToString() + "&AdvertiseNo=" + AdvertiseNo_Prev.ToString() %>"><img src="/images/whatsnew/bt_next.jpg" width="54" height="26"></a>
<%	} else {%>
								<a href="#" onclick="alert('다음 내용이 없습니다.'); return false;"><img src="/images/whatsnew/bt_next.jpg" width="54" height="26"></a>
<%	} %>
				</td>
              </tr>
            </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="50">&nbsp;</td>
              </tr>
            <tr>
              <td height="35" align="center"><table width="95%" border="0" cellspacing="0" cellpadding="0">
                <tr>
<%foreach(AdvertiseEntity item in AdvertiseList ) { %>
                  <td align="center"><a href="<%="/aboutus/etc_view.aspx?PageNo=1&AdvertiseNo=" + AdvertiseNo_Prev.ToString() %>"><img src="<%=item.ThumbURL %>" width="120" height="156"></a></td>
<%} %>
                  </tr>
                </table></td>
              </tr>
            </table>

</asp:Content>
